package com.cloud.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cloud.core.BaseService;
import com.cloud.dao.CodeBean;
import com.cloud.dao.HospitalBean;
import com.cloud.dao.impl.CodeDao;

/**
 * 1Cloud1
 * @author Administrator
 * @since 2015-12-4
 * @version 1.0 
 */
@Service("CodeService")
public class CodeService extends BaseService{
	
	@Autowired
	private CodeDao CodeDao;
	
	public List<CodeBean> getDepartmentList(){
		return CodeDao.getDepartmentList();
	}
	
	public List<CodeBean> getDictList(){
		return CodeDao.getDictList();
	}
	
	public List<CodeBean> getDiseaseList(){
		return CodeDao.getDiseaseList();
	}
	
	public List<CodeBean> getTitleList(){
		return CodeDao.getTitleList();
	}
	
	public List<CodeBean> getLableList(){
		return CodeDao.getLableList();
	}
	
	public List<HospitalBean> getHospitalList(HospitalBean bean){
		return CodeDao.getHospitalList(bean);
	}
	
	public List<CodeBean> getCompanyList(String comname){
		return CodeDao.getCompanyList(comname);
	}
}
